
import { Layout, theme } from 'antd';
// 导入二级路由规则组件
import Elemain from '@/router/Index'
import Loading from './Loading';
const { Content } = Layout;

type Props = {}

export default function Appmain({ }: Props) {
    const {
        token: { colorBgContainer },
    } = theme.useToken();
    return (
        <Content
            style={{
                margin: '24px 16px',
                padding: 24,
                minHeight: 280,
                background: colorBgContainer,
            }}
        >
            {/* 主体部分 */}
            <Elemain></Elemain>
            {/* <Loading tip='发送中'></Loading> */}
        </Content>
    )
}